package com.dyna.gateway;

import com.dyna.constants.AppConstant;
import com.dyna.launch.DynaApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author zhoucaiwang
 * @date 2024/3/24
 */

@EnableFeignClients(basePackages = "com.dyna")
@EnableDiscoveryClient
@SpringBootApplication
@ComponentScan("com.dyna")
public class GatewayApplication {

    public static void main(String[] args) {

        DynaApplication.run(AppConstant.APPLICATION_GATEWAY_NAME, GatewayApplication.class, args);

    }

}
